package com.le.bbs;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@EnableDiscoveryClient  // 启动服务注册发现的客户端：httpclient/postman
@EnableFeignClients(basePackages = {"com.le.api"}) // 扫描com.yc.api中的feign接口，扫描到，feign就会自动生成这些接口的实现类
public class CountApplication {
    public static void main(String[] args) {
        SpringApplication.run(CountApplication.class, args);
    }
}
